package cn.math.appmath.dao;

import java.util.List;

import cn.math.appmath.bean.AchievementBean;
import cn.math.appmath.entity.Achievement;

public interface AchievementDao {
	public boolean save(Achievement transientInstance);
	
	/**
	 * 根据ids删除研究成果
	 * @param ids Integer 数组对象
	 * @return
	 */
	public boolean batchDelete(Integer[] ids);
	public void delete(Achievement persistentInstance);
	public Achievement findById(java.lang.Integer id);
	public List<Achievement> findByExample(Achievement instance);
	public List<Achievement> findByProperty(String propertyName, Object value);
	public AchievementBean findAll(int page);
}
